home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-06-11 | 2.0 KB | 79 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="6"
- "COUNT"="4"
- "UIPATH"="Appearance\General\Effects"
- "NAME"="Windows FX Options"
- "VERSION"="2.12"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Window animation (taskbar zoom)"
- "TEXT 2"="Drag full windows"
- "TEXT 3"="Smooth scrolling"
- "TEXT 4"="Font smoothing"
- "DESCRIPTION 1"="All this options look nice but they might make your computer slower."
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
-
-
-
- Sub Plugin_Initialize
- 'String
- i=RegReadValue("HKCU\Control Panel\desktop\WindowMetrics\MinAnimate")
- if i=1 then SetUIElement 1,true
-
- 'String
- i=RegReadValue("HKCU\Control Panel\desktop\DragFullWindows")
- if i=1 then SetUIElement 2,true
-
- 'Binary!!
- i=RegReadValue("HKCU\Control Panel\desktop\SmoothScroll")
- if i=01000000 then SetUIElement 3,true
- 'DebugMsg "[" & i & "]"
-
- 'String
- i=RegReadValue("HKCU\Control Panel\desktop\FontSmoothing")
- if i=1 then SetUIElement 4,true
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue("HKCU\Control Panel\desktop\WindowMetrics\MinAnimate",1,1)
- else
- Call RegWriteValue("HKCU\Control Panel\desktop\WindowMetrics\MinAnimate",0,1)
- end if
-
- b=GetUIElement(2)
- if b=true then
- Call RegWriteValue("HKCU\Control Panel\desktop\DragFullWindows",1,1)
- else
- Call RegWriteValue("HKCU\Control Panel\desktop\DragFullWindows",0,1)
- end if
-
- b=GetUIElement(3)
- if b=true then
- Call RegWriteValue("HKCU\Control Panel\desktop\SmoothScroll","01000000",3)
- 'debugmsg "TRUE"
- else
- Call RegWriteValue("HKCU\Control Panel\desktop\SmoothScroll","00000000",3)
- 'debugmsg "FALSE"
- end if
-
- b=GetUIElement(4)
- if b=true then
- Call RegWriteValue("HKCU\Control Panel\desktop\FontSmoothing",1,1)
- else
- Call RegWriteValue("HKCU\Control Panel\desktop\FontSmoothing",0,1)
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-